class Category < ActiveRecord::Base
has_many :medias,:dependent => :destroy
end
